import modelAbstract from "./modelAbstract";
import {image} from "../service/images";
import config from "../../config"
import strawCan from "../canvas/straw";

export default class straw extends modelAbstract implements IModel{
  name: string = 'straw'
  render(): void {
    super.draw()
  }

  image(): HTMLImageElement {
    return image.get(this.name  as keyof typeof config.images)!
  }

  canvas: ICanvas = strawCan
}
